package com.nail.api.user.controller;

import com.alibaba.druid.util.StringUtils;
import com.nail.api.user.bean.User;
import com.nail.api.user.service.IUserService;
import com.nail.client.RedisClient;
import com.nail.common.Constant;
import com.nail.utils.IPUtils;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONObject;
import com.nail.controller.BaseController;
import com.nail.utils.Result4API;

import javax.servlet.http.HttpServletRequest;
import java.text.SimpleDateFormat;
import java.util.Date;

@Controller
@RequestMapping("/api/user")
@EnableAutoConfiguration    
public class LoginController extends BaseController{
    Logger logger = Logger.getLogger(this.getClass());

    @Autowired
    private IUserService userService;

    @Autowired
    private RedisClient redisClient;

    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");



}
